package com.springboot.service.impl;

import com.springboot.mapper.TeacherProMapper;
import com.springboot.pojo.TeacherPro;
import com.springboot.service.TeacherService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TeacherServiceImpl implements TeacherService {

    @Resource
    private TeacherProMapper teacherProMapper;

    @Override
    public TeacherPro getTeacherPro(Integer id) {
        TeacherPro teacherPro = teacherProMapper.getTeacherPro(id);
        return teacherPro;
    }
}
